.calloutSection {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  width: 100%;
  background-color: var(--ifm-color-primary-lighter);
  color: var(--ifm-color-primary-darkest);
}

.inner {
  display: grid;
  justify-content: center;
  text-align: center;
}

[data-theme="dark"] .calloutSection {
  background-color: var(--ifm-color-primary-darker);
  color: var(--ifm-background-color);
}

.header {
  composes: header from "@site/src/css/common.module.css";
}

.calloutSection h3 {
  font-weight: normal;
}

.button {
  composes: buttonHero from "@site/src/css/common.module.css";
  text-transform: uppercase;
  max-width: 100%;
}

.button:before {
  content: "Learn about sponsors and sponsorship";
}

.button:hover {
  background-color: var(--ifm-color-primary-darker);
  border: 1px solid var(--ifm-color-primary-darker);
}

[data-theme="dark"] .button {
  border: 1px solid var(--ifm-color-primary);
  background-color: var(--ifm-color-primary);
}

[data-theme="dark"] .button:hover {
  color: var(--ifm-color-primary-darker);
  border: 1px solid var(--ifm-color-primary-darker);
  background-color: var(--ifm-color-primary-darkest);
}

@media screen and (max-width: 995px) {
  .inner {
    display: flex;
    flex-direction: column;
  }
  .button:before {
    content: "Learn about sponsorship";
  }
  .header {
    font-size: 1.8rem;
    font-weight: bold;
  }
}

@media screen and (max-width: 400px) {
  .button:before {
    content: "Sponsorship";
  }
}
